.App {
  font-family: sans-serif;
  text-align: center;
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.number-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box; /* 确保 padding 不会影响宽度 */
}

.number-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* 传入的自定义样式 */
.price-input-style {
  border-color: #28a745;
}

.price-input-style:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25);
}

p {
  margin-top: 10px;
  color: #555;
}

.layer-content-wrapper {
  position: relative;
  height: 100%;
  padding: 0 8px;
}

.layer-content {
  overflow-y: auto;
  color: #fff;
  font-size: 12px;
  padding: 8px 0;
}

// 滚动条样式
.layer-content::-webkit-scrollbar {
  width: 6px;
}

.layer-content::-webkit-scrollbar-track {
  background: transparent;
}

.layer-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.layer-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.content {
  padding: 8px 12px;
  height: calc(100% - 60px);
  overflow-y: auto;
  background-color: rgba(0, 22, 55, 0.8);
  box-shadow: inset 0 0 10px 0 #169aff;

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  &::-webkit-scrollbar {
    width: @scrollbar-width;
    height: @scrollbar-width;
  }

  &::-webkit-scrollbar-track {
    background-color: @scrollbar-track-color;
    border-radius: @scrollbar-border-radius;
  }

  &::-webkit-scrollbar-thumb {
    background-color: @scrollbar-thumb-color;
    border-radius: @scrollbar-border-radius;

    &:hover {
      background-color: @scrollbar-thumb-hover-color;
    }
  }
}